//
//  Constants.h
//  KIASupervisory
//
//  Created by tan_xin on 14-7-9.
//  Copyright (c) 2014年 MyCompany. All rights reserved.
//

#import <Foundation/Foundation.h>

#define SERVER_DOMAIN @"http://www.51ber.com/zhihuiguanjia/mobileAdmin/mobileRequest.shtml"
#define SERVER_DOMAIN2 @"http://www.51ber.com/zhihuiguanjia/mobile/mobileRequest.shtml"

//#define SERVER_DOMAIN @"http://10.10.10.6:8080/zhihuiguanjia/mobile/mobileRequest.shtml"
//#define SERVER_PATH @"http://www.51ber.com/zhihuiguanjia/upload/weixiu/"
#define SERVER_PATH @"http://www.51ber.com/zhihuiguanjia/upload/weixiu/"
#define DUDAO_PICI_DEFAULTS_KEY @"DudaoPici"

//#define BAIDU_APP_KEY @"HaP1boeboQefDjmrvmbFPBrW"
//#define BAIDU_SECRET_KEY @"QgcGQzKkUWT1TQadCcanOuzCymGL2cyw"

typedef enum {
    login = 1, //登录
    modifyPwd, //修改密码
    userInfo, //获取用户基本信息，创建出差申请时使用
    getCityList,
    getXiaoquList,
    getvercode,
    getWenzhangList,
    getWenzhang,
    tongzhi,
    zhiding,
    addPinglun,
    deletePinglun,
    deleteShuoshuo,
    zanDo,
    tongzhiDetail,
    logout,
    weixiuList,
    weixiuDetail,
    weixiuChuli,
    wancWeixiu,
    finishWeixiu,
    louList,
    zhuhuList,
    zhuhuList1,
    zhuhuDetail,
    zhuangxiu,
    chanquan,
    ruzhu,
    zulin,
    fushuwu, 
    cuixiu,
    createWeixiu,
    createShuoshuo,
    excelImport,
    weixiuPj,
    getYpById,
    checkYzm,
    findPwdYzm,
    resetPwd,
    getZhuhuListByPhone,
    identityVerification,
    searchYp,
    searchWenzhang,
    getShoushuoByXiaoqu,
    updateUserinfo,
    getUnreadCount,
    appVersionCheck,
    sendDeviceInfo,
    searchTongzhi,
    pipei
}RequestMethodId;

@interface Constants : NSObject

/**
 *  根据请求方法id获取对应的方法名称
 *
 *  @param methodId 方法id
 *
 *  @return 方法名称
 */
+ (NSString *)getRequestMethodNameByID:(RequestMethodId)methodId;

@end
